{% extends "common/templates/base_nav.html" %}

{% block contents %}
<h2>
	<fb:intl>You want gived a new slap now</fb:intl>
</h2>
<p>
	<fb:intl>A friend deserves a slap ?</fb:intl>
</p>

{% include 'common/templates/form_error.html' %}

{% if send_ok %}
<div class="fbbluebox">
	<fb:intl>Your slap was successfully sent.</fb:intl>
</div>
<br />
{% endif %}

<div class="form-box">
	<form method="post" promptpermission="publish_stream">
		<label><fb:intl>Select your friend</fb:intl></label><br />
		<label><fb:intl>Why you want to give him a slap ?</fb:intl></label><br />
		<textarea name="comment" rows="5" cols="50">{{ comment }}</textarea><br /><br />
		<input type="hidden" name="slapup" value="1" />
		<input type="submit" class="button-submit" value="Ok, slap up !" />
	</form>
</div>
{% endblock %}
